LiteSpeed\Cloud D

Total Complexity 364
Dependencies 15
Dependents 15
Total lines 2,272
Lines of code 1,304
Logical lines of code 857
Comment lines 603
Methods 60
Properties 11

Methods 60

Method Rating Maintainability Complexity Lines of code
extract_msg()
D
30 34 104
detect_cloud()
C
35 26 77
_maybe_cloud()
B
35 22 85
_parse_response()
B
33 21 97
allowance()
A
46 16 37
handler()
A
43 15 48
_update_news()
A
50 13 26
_get_closest_nodes()
A
46 12 35
finish_qc_activation()
A
46 11 34
_load_qc_status_for_dash()
A
49 11 27
_post()
A
44 9 42
ping()
A
51 10 26
init_qc_cdn_cli()
A
48 8 36
is_from_cloud()
A
52 8 25
_get()
A
47 7 35
_get_ref_url()
A
56 8 17
wp_rest_echo()
S
53 7 20
check_dev_version()
S
54 7 20
update_cdn_status()
S
53 6 21
init_qc()
S
47 5 35
init_qc_cli()
S
48 5 35
version_check()
S
56 6 16
rest_err_domains()
S
58 6 14
_load_server_pk()
S
50 5 28
update_qc_activation()
S
54 5 21
_is_err_domain()
S
58 5 16
_validate_signature()
S
58 4 15
ip_validate()
S
58 4 14
sync_usage()
S
61 4 12
clear_cloud()
S
62 4 12
__construct()
S
56 3 18
_sign_b64()
S
57 3 17
news()
S
64 4 10
_parse_link()
S
62 4 10
_qc_time_file()
S
62 3 11
link_qc()
S
56 2 18
enable_cdn()
S
56 2 18
_update_ips()
S
57 2 16
has_pkg()
S
69 3 6
service_hot()
S
64 3 10
reset_qc()
S
59 2 14
init_qc_prepare()
S
62 2 12
link_qc_cli()
S
61 2 12
api_link_call()
S
62 2 11
cdn_status_cli()
S
65 2 9
_maybe_queue()
S
71 2 6
activated()
S
77 2 3
_reset_qc_reg()
S
65 2 9
show_promo()
S
71 2 6
_clear_promo()
S
67 2 8
maybe_preview_banner()
S
71 2 5
load_qc_status_for_dash()
S
79 1 3
get()
S
75 1 4
qc_link()
S
66 1 8
post()
S
74 1 4
_reset_qc_reg_content()
S
69 1 6
_clear_reset_qc_reg_msg()
S
72 1 5
_remove_domain_from_err_list()
S
76 1 4
ok()
S
76 1 4
err()
S
68 1 7